I have DXL to display redline history for Object Text. It works for attributes that have before and after textual changes but i need to display history for object number and object moves. Tinkered with it without much luck...any ideas? I changed these lines to moveObject and Object Number and wasnt giving me any result
if (ht == modifyObject) displayRichWithColour getHistoryForAttributes(obj, "Object Text", defaultDescribeEvent)
Date afterDate = "09/25/2018"//used this hardcoded date rather than the date number.
void defaultDescribeEvent(Object o, string sAttribute, History h, Buffer b) diff (v, old,new, "\\cf1\\strike ", "\\cf3\\ul ")
b += "{\\b On }"
delete old
if (x < afterDate) continue bmohamed - Thu Sep 27 14:00:34 EDT 2018 |
Re: How to get layout DXL history for Object Number changes(moves) If you look at DXL Reference section "History" it shows that there are history constants clipCutObject and clipMoveObject and then there are history poroperties position and newPosition. Using these we can modify the example program in the "History" section as follows:
|
Re: How to get layout DXL history for Object Number changes(moves) PekkaMakinen - Fri Sep 28 02:26:12 EDT 2018 If you look at DXL Reference section "History" it shows that there are history constants clipCutObject and clipMoveObject and then there are history poroperties position and newPosition. Using these we can modify the example program in the "History" section as follows:
To add to that: the historyType "moveObject" also exists (but is not documented) and is used to display object changes done by (for example) the move(object, object) function. The position and newPosition properties are the same here. |
Re: How to get layout DXL history for Object Number changes(moves) PekkaMakinen - Fri Sep 28 02:26:12 EDT 2018 If you look at DXL Reference section "History" it shows that there are history constants clipCutObject and clipMoveObject and then there are history poroperties position and newPosition. Using these we can modify the example program in the "History" section as follows:
I modified the above to show a report of the moves(mostly) via Edit DXL window. I wasnt able to use as layout dxl and hadnt had time to see if i can figure that out. it got me close to where i need to be ...thanks! |